﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XNoteBook.Entities;

namespace XNoteBook.Models
{
	public class NodeModel 
	{
		public string ParentID { get; set; }
		public string NodeID { get; set; }
		public string Title { get; set; }
		public int SortIndex { get; set; }
		public NodeType Type { get; set; }
		public bool IsLeaf { get; set; }
		public string Summary { get; set; }
		public string CreateUserID { get; set; }
		public string CreateUserName { get; set; }
		public DateTime CreateTime { get; set; }
		public string UpdateUserID { get; set; } 
		public string UpdateUserName { get; set; } 
		public DateTime? UpdateTime { get; set; }
	}


	//public class NodeModel
	//{
	//    public Category Category { get; set; }
	//    public TreeCategory Node { get; set; }
	//    public bool IsLeaf { get; set; }
	//}
}
